package myGroup;
import org.apache.log4j.Logger;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.interactions.Actions;

//may be Log4j works instead of system.out.println NOT with object to find
public class driver4jLog {
    public Logger app_logs;
	public static void main(String[] args) {
		driver4jLog test = new driver4jLog();
		test.start();
		}
	public void start(){
		app_logs = Logger.getLogger("devpinoyLogger");
		app_logs.debug("Hello");
		WebDriver driver = new FirefoxDriver();
		//app_logs.debug(driver.get("http://www.wmata.com"));
		WebElement root = driver.findElement(By.xpath("//*[@src='/img/hb-fares-off.gif']"));
	    Actions builder = new Actions(driver);
	    builder.moveToElement(root).build().perform();
	    //app_logs.debug(driver.findElement(By.xpath("//html/body/div/div/div/div[4]/ul/li[4]/ul/li[2]/a")).click());
	    
		
	}

}
